package com.zzb.myrule;

import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description
 * @CreateTime 2021/6/29 0029 15:47
 * @Author 不浪小生
 */
@Configuration
public class MyRibbonRule {

    @Bean
    public RandomRule getRandomRule() {
        return new RandomRule();
    }
}
